package com.ciwong.epaper.modules.epaper.lsdao;

import com.ciwong.mobilelib.utils.EAction;

/**
 * 听说模考口头作文题评测action
 *
 * @author sugy
 * @version ciwong v.1.0 2015/11/19 9:09
 * @since ciwong v.1.0
 */
public class LSAction extends EAction
{

    /**
     * 地址
     */
//    public static final String ACTION_LS_ENGINE = "http://101.231.106.182:4986/sessions/";
    public static final String ACTION_LS_ENGINE = "http://edugz.hivoice.cn:8088/sessions/";

//    public static final String ACTION_LS_ENGINE = "http://edugz.hivoice.cn";

    @Override
    public String getActionUrl(String action)
    {
        if (action.equals(ACTION_LS_ENGINE))
        {
            return ACTION_LS_ENGINE;
        }
        return super.getActionUrl(action);
    }

    public static String getActionLsUpload(String sessionid, int chunkseq)
    {
        return ACTION_LS_ENGINE + sessionid + "/chunks/" + chunkseq;
    }
}
